import { getactivities } from "../../utils/api";
const activities = {
  state() {
    return {
      getactivitiesContent: "",
    };
  },
  mutations: {
    getactivities(state, payload) {
      state.getactivitiesContent = payload;
    },
  },
  actions: {
    async getactivities({ commit }) {
      const res = await getactivities();
      commit("getactivities", res);
    },
  },
};
export default activities;
